package com.hopital5.zhangyz

import com.hopital5.zhangyz.utils.LogRecordAspect
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotation.FilterType
import org.springframework.context.annotation.ImportResource
import org.springframework.transaction.annotation.EnableTransactionManagement

@SpringBootApplication
@ImportResource("/test-transcation.xml")
@ComponentScan(excludeFilters = @ComponentScan.Filter(classes = [Application.class, LogRecordAspect.class], type = FilterType.ASSIGNABLE_TYPE))
@EnableTransactionManagement
class ApplicationTest {
}
